﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BPM.Foundation.PWDB;
using System.Runtime.Serialization;

namespace BPM.Foundation.PWService
{
    [DataContract()]
    public class PowerTree
    {
        [DataMember()]
        public PW_User user
        { set; get; }

    

        [DataMember()]
        public List<Station> station
        {
            set;
            get;
        }
        
    }

    [DataContract()]
    public class Station
    {
        [DataMember()]
        public PW_Department department
        { set; get; }

        [DataMember()]
        public PW_Duty duty
        { set; get; }
    }
}
